package com.itheima.patterns.structuralpattern.adapter.class_adapter;

public class Client {
    public static void main(String[] args) {
        //创建计算机对象
        Computer computer = new Computer();
        String msg = computer.readSD(new SDCardImpl());
        System.out.println(msg);
    
        System.out.println("=============");
        
        //使用该电脑读取 TF 卡中的数据
        String msg1 = computer.readSD(new ADAdapterTF());
        System.out.println(msg1);
    }
}